<html>
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
<div id="app">
    <p @mousemove="mm">
        x:{{x}}
        y:{{y}}
        <span @mousemove.stop>鼠标移动到此即停止</span>
    </p>
</div>
</body>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script type="text/javascript">
    new Vue({
        el:'#app',
        data:{
            x:0,
            y:0
        },
        methods:{
            mm:function(event){
                this.x = event.clientX;
                this.y = event.clientY;
            },
            stopm:function(event){
                event.stopPropagation();
            }
        }
    })
</script>
</html>